#include <iostream>
using namespace std;

class A{
    public:
        int a;
        void fA() const{
            fB();
        }
        void fB() const{
            cout<<"hello"<<endl;
        }
};

A man2;
A & getA(){
    return man2;
}

int main(){
    int a=1;
    int *const b=&a;
    int c=2;
    const int *const d=&c;
    A man1;
    man1.fA();
    getA()=man1;
    return 0;
}
